<?php

class Application_Model_DbTable_ItemCreditNote extends Zend_Db_Table_Abstract
{

    protected $_name = 'mw_bo_avoirs_articles';

    protected $_referenceMap = array(
        'Application_Model_DbTable_Item' => array(
         'columns'          => array('id_article'),
         'refTableClass'    => 'Application_Model_DbTable_Item',
         'refColumns'       => array('id_art_ref')
     ),
     'Application_Model_DbTable_CreditNote' => array(
         'columns'          => array('id_avoir'),
         'refTableClass'    => 'Application_Model_DbTable_CreditNote',
         'refColumns'       => array('id_avoir')
     )
    );

}

